<?php
/**
 * Zend Framework Contribution
 *
 * LICENSE
 *
 * This source file is subject to the new BSD license that is bundled
 * with this package in the file LICENSE.txt.
 * It is also available through the world-wide-web at this URL:
 * http://framework.zend.com/license/new-bsd
 * If you did not receive a copy of the license and are unable to
 * obtain it through the world-wide-web, please send an email
 * to license@zend.com so we can send you a copy immediately.
 *
 * @category   Zend
 * @package    Zend_Mwb
 * @copyright  Copyright (c) 2005-2011 Zend Technologies USA Inc. (http://www.zend.com)
 * @license    http://framework.zend.com/license/new-bsd     New BSD License
 * @version    1.0 Abstract.php 3 mai 2012 Sergio DE VASCONCELOS
 */

/**
 * MySQL Workbench document
 *
 * @category   Zend
 * @package    Zend_Mwb
 */
class Zend_Mwb_Dom_Abstract
{
	/**
	 * @var DOMNode
	 */
	protected $node;
	
	/**
	 * @var Zend_Mwb_Dom_Abstract
	 */
	protected $parent;
	
	//getOwnerDocument() { return $this->node->ownerDocument; }
	
	public function __construct($node, Zend_Mwb_Dom_Abstract $parent=null) {
		$this->node   = $node;
		//$type = $this->node->getAttribute('type');
		//var_dump($type);
		if (!$this->node instanceof DOMNodeList)
			$this->node->setDom($this);
		$this->parent = $parent;
		$this->parse();
	}
	protected function parse() {
		
	}
}
